/*
 * Copyright (C) 2018 Baidu, Inc. All Rights Reserved.
 */
package com.baidu.aip.fl.model;

/**
 * Created by 83673 on 2018/6/14.
 */

public class SuccessModel {

    /**
     * code : 200
     * msg : 人脸打卡成功！
     * data : {"id":"1007171313850417153","subId":0,"siteId":"1007167966221185026","userId":"1007126411246673921","clockType":1,"createTime":"2018-06-14 16:02:08","validFlag":1,"confirmFlag":0,"macId":"008139227842","workTypeId":"2","clockWeek":"","userName":""}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1007171313850417153
         * subId : 0
         * siteId : 1007167966221185026
         * userId : 1007126411246673921
         * clockType : 1
         * createTime : 2018-06-14 16:02:08
         * validFlag : 1
         * confirmFlag : 0
         * macId : 008139227842
         * workTypeId : 2
         * clockWeek :
         * userName :
         */

        private String id;
        private int subId;
        private String siteId;
        private String userId;
        private int clockType;
        private String createTime;
        private int validFlag;
        private int confirmFlag;
        private String macId;
        private String workTypeId;
        private String clockWeek;
        private String userName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getSubId() {
            return subId;
        }

        public void setSubId(int subId) {
            this.subId = subId;
        }

        public String getSiteId() {
            return siteId;
        }

        public void setSiteId(String siteId) {
            this.siteId = siteId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public int getClockType() {
            return clockType;
        }

        public void setClockType(int clockType) {
            this.clockType = clockType;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getValidFlag() {
            return validFlag;
        }

        public void setValidFlag(int validFlag) {
            this.validFlag = validFlag;
        }

        public int getConfirmFlag() {
            return confirmFlag;
        }

        public void setConfirmFlag(int confirmFlag) {
            this.confirmFlag = confirmFlag;
        }

        public String getMacId() {
            return macId;
        }

        public void setMacId(String macId) {
            this.macId = macId;
        }

        public String getWorkTypeId() {
            return workTypeId;
        }

        public void setWorkTypeId(String workTypeId) {
            this.workTypeId = workTypeId;
        }

        public String getClockWeek() {
            return clockWeek;
        }

        public void setClockWeek(String clockWeek) {
            this.clockWeek = clockWeek;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }
    }
}
